package com.zlm.common.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zlm.common.base.BaseEntity;

import java.util.Date;

/**
 * 职位收藏
 * @Author: duyufu
 * @Date: 2019/4/30 15:15
 */
public class EmpPostCollectDO extends BaseEntity {
    private static final long serialVersionUID = 8936882157512535407L;

    private Integer collectId;

    private Integer empId;

    private Integer postId;

    private Integer alive;

    private Integer createUser;
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date createTime;

    private Integer status;

    public Integer getCollectId() {
        return collectId;
    }

    public void setCollectId(Integer collectId) {
        this.collectId = collectId;
    }

    public Integer getEmpId() {
        return empId;
    }

    public void setEmpId(Integer empId) {
        this.empId = empId;
    }

    public Integer getPostId() {
        return postId;
    }

    public void setPostId(Integer postId) {
        this.postId = postId;
    }

    public Integer getAlive() {
        return alive;
    }

    public void setAlive(Integer alive) {
        this.alive = alive;
    }

    public Integer getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Integer createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "EmpPostCollectDO{" +
                "collectId=" + collectId +
                ", empId=" + empId +
                ", postId=" + postId +
                ", alive=" + alive +
                ", createUser=" + createUser +
                ", createTime=" + createTime +
                ", status=" + status +
                '}';
    }
}
